<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Viewing media related to a specific attribute, document, or dataset</title>
<link rel="stylesheet" href="RoboHTML_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='RoboHTML.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-weight:bold; font-family:Arial, sans-serif; }
ul.whs2 { list-style:disc; }
p.whs3 { font-family:Arial, sans-serif; font-weight:normal; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nProviding Flash-based analysis and interactivity: Widgets\nCreating a Media widget\nViewing media related to a specific attribute, document, or dataset");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Viewing media related to a specific attribute, document, or dataset</h1>
<p>A Media widget can display video, audio, images, or website content 
 related to a specific attribute, document, or dataset. For example, you 
 can select the Northeast region from a Grid/Graph or selector to play 
 a sales video for that region. In the video, the manager of the Northeast 
 region discusses the sales performance of the region. If you select the 
 West region in the dashboard, a video for the West sales region is played. 
 You can also use this type of functionality with a store attribute. Depending 
 on the store selected, the video recorded by that store's manager is played. 
 Alternatively, the widget could present an audio update, show an image 
 of the store, or display the store's home page.</p>
<p>To play media related to a specific attribute, you must specify the 
 name of the attribute when you specify the location of the media file. 
 For example, several sales videos on your corporate website are devoted 
 to different store locations; the sales videos are named East.swf, West.swf, 
 and Northeast.swf. Specify the location of the video files in this format: 
 <font style="font-family: 'Courier New';" face="Courier New">http://www.example.com/videos/{[Region]}.swf.</font> 
 This ensures that different elements from the Region attribute, such as 
 Northeast or West, trigger specific videos to play. Because the video's 
 URL is dynamic, it displays a video corresponding to the attribute element 
 you select.</p>
<p>You can also play media files related to a document or dataset report 
 by inserting the document or dataset report name in the URL or folder 
 location in the following format: <font style="font-family: 'Courier New';" 
 face="Courier New">{[#</font><font style="font-family: 'Courier New'; font-style: italic;" 
 face="Courier New">name of document</font><font style="font-family: 'Courier New';" 
 face="Courier New">#]}</font> or <font style="font-family: 'Courier New';" 
 face="Courier New">{[#</font><font style="font-family: 'Courier New'; font-style: italic;" 
 face="Courier New">name of dataset</font><font style="font-family: 'Courier New';" 
 face="Courier New">#]}</font>.</p>
<p>Follow the guidelines below to display media related to a specific attribute, 
 document, or dataset report:</p>
<ul>
<li class=p-First-Bullet-Do-Not-Type-Text><p class=First-Bullet-Do-Not-Type-Text>&nbsp;</p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted><font 
 style="font-weight: bold;">Attribute names</font>: Use the following format 
 to specify the name of an attribute: <font style="font-family: 'Courier New';" 
 face="Courier New">{[</font><font style="font-family: 'Courier New'; font-style: italic;" 
 face="Courier New">name of attribute</font><font style="font-family: 'Courier New';" 
 face="Courier New">]}</font>. For example, to display a video related 
 to a specific marketing campaign, you can use the following format: <font 
 style="font-family: 'Courier New';" face="Courier New">http://www.example.com/MarketingCampaignVideos/{[Campaign]}.swf</font></p></li>
	<ul>
<li class=p-Steps-No-Number-Indent><p class=Steps-No-Number-Indent>Use 
 a + character to separate the names of different attributes or attribute 
 elements. For example, if you are using a selector to filter the Store 
 and Zip Code attributes, use the following format:<font style="font-family: 'Courier New';" 
 face="Courier New"> http://www.example.com/videos/{[Store]+[ZipCode]}</font></p></li>
	</ul>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted><font 
 style="font-weight: bold;">Document or dataset report names</font>: Use 
 the following format to specify the name of a document or dataset report: 
 <font style="font-family: 'Courier New';" face="Courier New">{[#</font><font 
 style="font-family: 'Courier New'; font-style: italic;" face="Courier New">name 
 of document</font><font style="font-family: 'Courier New';" face="Courier New">#]} 
 </font>or<font style="font-family: 'Courier New';" face="Courier New"> 
 {[#</font><font style="font-family: 'Courier New'; font-style: italic;" 
 face="Courier New">name of dataset</font><font style="font-family: 'Courier New';" 
 face="Courier New">#]}</font></p></li>
</ul>
<p class="whs1">Related links:</p>
<ul type="disc" class="whs2">
	
<li class=P><p class="whs3">
<a 
 href="Defining_a_Media_widget.htm">Creating a Media widget</a></p></li>
</ul>
<p>&nbsp;</p>
<p class=Topic-Text-Bulleted>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
